﻿using System;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;

namespace App_Code.ErrorHandler
{
    public class AjaxErrorHandler : IErrorHandler
    {
        public bool HandleError(Exception error)
        {
            return false;
        }

        public void ProvideFault(Exception error, MessageVersion version, ref Message fault)
        {
            //Log the error
        }
    }
}